package com.katydid.util;

import javax.annotation.sql.DataSourceDefinition;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

//@DataSourceDefinition
//	(name = "java:app/jdbc/noteds", 
//	 className = "oracle.jdbc.xa.client.OracleXADataSource", 
//	 url = "jdbc:oracle:thin:note_user/password@//192.168.2.103:1521/notedb")
public class DataSourceProvider {

	@Produces
	@PersistenceContext(unitName = "Note")
	private EntityManager em;
}
